package com.auto.base.mapper;

import com.auto.base.pojo.ServiceCategory;
import com.auto.base.pojo.ServiceCategoryExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface ServiceCategoryMapper extends BaseMapper{
    int countByExample(ServiceCategoryExample example);

    int deleteByExample(ServiceCategoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ServiceCategory record);

    int insertSelective(ServiceCategory record);

    List<ServiceCategory> selectByExample(ServiceCategoryExample example);

    ServiceCategory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ServiceCategory record, @Param("example") ServiceCategoryExample example);

    int updateByExample(@Param("record") ServiceCategory record, @Param("example") ServiceCategoryExample example);

    int updateByPrimaryKeySelective(ServiceCategory record);

    int updateByPrimaryKey(ServiceCategory record);
}